package com.yunhai.recipe.service;

import com.yunhai.common.dto.PaginationVo;
import com.yunhai.model.entity.FmsFormulaRuleEntity;
import com.yunhai.model.entity.fms.FmsFormulaRuleVo;
import com.yunhai.model.vo.fms.FmsFormulaRuleQuery;
import org.apache.commons.beanutils.PropertyUtils;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import java.util.List;


public interface FormulaRuleService {

	/**
	 * 获取 FormulaRule 分页列表
	 */
	public IPage getFormulaRulePagination(PaginationVo paginationVo, FmsFormulaRuleQuery fmsFormulaRuleQuery ) throws Exception;


	/**
	 * 获取 FormulaRule 所有数据
	 *
	 */
	public List<FmsFormulaRuleEntity> getFormulaRuleAllList(FmsFormulaRuleQuery fmsFormulaRuleQuery ) throws Exception;


	/**
	 * 获取 FormulaRule 详情
	 */
	public FmsFormulaRuleEntity getFormulaRuleDetail( Long id) throws Exception;


	/**
	 * 新增 FormulaRule
	 * */
	public void addFormulaRule(FmsFormulaRuleVo fmsFormulaRuleVo) throws Exception;


	/**
	 * 更新 FormulaRule
	 * */
	public void updateFormulaRule( FmsFormulaRuleVo fmsFormulaRuleVo) throws Exception;


	/**
	 * 删除 FormulaRule
	 * */
	public void batchRemoveFormulaRule( List<Long> ids ) throws Exception;

}